﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_ymgl_bthzw.aspx.cs" Inherits="admin_ymgl_bthzw" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>页面管理_修改页面</title>
<script type="text/javascript" language="javascript" src="admin/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" language="javascript" src="ckeditor/ckeditor.js"></script>
<link href="admin/css/docincommon.css" rel="stylesheet" type="text/css" />
<link href="admin/css/docinregist.css" rel="stylesheet" type="text/css" />
<link href="admin/css/style_update.css" rel="stylesheet" type="text/css" />

<script>
       //警告消息
     function warning(msg)
     {
        $("#txt_warning").html(msg);
//        alert(msg);
        $("#div_warning").show();	 
     } 
</script>

</head>
<body>
<form id="Form1" runat="server">

<div class="right_main">
    
        
        <div class="location">
            <div class="kou"></div>
           
             <div class="koufont">系统管理</div>
            <a href="#" class="one ">页面管理 ></a>
            <a href="#" class="two">标题和正文</a>
        </div>
        <br />
        <%--class="info clear" --%>
        <div >

        	<div class="info_border clear">
        	     <div class="title" onclick="mb_show_hide();">
        	         <div class="right_tl1"></div> 
           	         <div class="right_tl2">页面选择</div>	
                 </div>
                 <div class="text_table">
                     页面选择：
                     <asp:DropDownList ID="ddlSelectPage"  
                     Width="40%"  Height="22px" CssClass="input_text" runat="server" AutoPostBack="True" 
                     OnSelectedIndexChanged="ddlSelectPage_SelectedIndexChanged"  >
                    </asp:DropDownList>
                      
                 </div>
        	
                 <div class="title">
        	         <div class="right_tl1"></div> 
           	         <div class="right_tl2">
                            标题编辑</div>	
                 </div>
                 <div class="text_table">
                     标题编辑：
                     <asp:TextBox ID="tbTitle" runat="server" Width="40%" CssClass="input_text" Text="" ></asp:TextBox>
                     （<img src="admin/css/image/gantan.gif" />页面标题，20字以内！）
                 </div>
                 <div class="title">
        	         <div class="right_tl1"></div> 
           	         <div class="right_tl2">正文编辑</div>	
                 </div>
                 <div class="text_table">
                 <asp:TextBox ID="tbContent" runat="server" Width="80%" Height="415px"  CssClass="input_text" Text="" TextMode="MultiLine" ></asp:TextBox>
                
                <script type="text/javascript">
                    CKEDITOR.replace( 'tbContent',
                            {
                                height: 400, 
                                width: 700,
                                toolbar :
                                    [
                                        ['Source','-','Save','NewPage','Preview','-','Templates'],
                                        ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
                                        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
                                        //['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
                                        '/',
                                        ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
                                        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
                                        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
                                        ['Link','Unlink','Anchor'],
                                        ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
                                        '/',
                                        ['Styles','Format','Font','FontSize'],
                                        ['TextColor','BGColor'],
                                        ['Maximize', 'ShowBlocks','-','About']
                                    ]
                            });
//                    CKEDITOR.replace( 'tbContent',
//                            {
//                                height: 400, 
//                                width: 700,
//                                toolbar :
//                                    [
//                                        ['Source','-','Save','NewPage','Preview','-','Templates'],
//                                        ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
//                                        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
//                                        ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
//                                        '/',
//                                        ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
//                                        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
//                                        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
//                                        ['Link','Unlink','Anchor'],
//                                        ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
//                                        '/',
//                                        ['Styles','Format','Font','FontSize'],
//                                        ['TextColor','BGColor'],
//                                        ['Maximize', 'ShowBlocks','-','About']
//                                    ]
//                            });
                 </script>
                
                 </div>
                 <div style=" text-align:right; width :80%;">
                 <asp:Button ID="btAdd" runat="server" Text="确定发布" class="button_U" OnClick="btAdd_Click" />
                 </div>
                 <div id="div_warning" class="warning margin_div" style="display:none;">
                     <img src="admin/css/image/warning.jpg" width="21" height="23" /><span id="txt_warning"></span>
                 </div>
                
	  		</div>
	  		
	  		
	    </div>
	 
    </div>
    

</form>
</body>
</html>
